﻿using MoreGolf.Content.Projectiles.GolfBalls;
using Terraria.ID;
using Terraria.ModLoader;

namespace MoreGolf.Content.Items.GolfBalls
{
    public class GoldGolfBall : ModItem
    {
        public override void SetDefaults()
        {
            Item.DefaultToGolfBall(ModContent.ProjectileType<GoldGolfBallProjectile>());
        }
        public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
        {
            itemGroup = ContentSamples.CreativeHelper.ItemGroup.Golf;
        }
        public override void AddRecipes()
        {
            CreateRecipe()
                .AddIngredient(ItemID.GolfBall, 1)
                .AddIngredient(ItemID.GoldBar, 5)
                .AddTile(TileID.Anvils)
                .Register();
        }
    }
}
